/**
 * Copyright &copy; 2017-2020 <a href="http://www.fosung.com/">FosungFrame</a> All rights reserved.
 */
package com.fosung.frame.modules.score.entity;

import org.hibernate.validator.constraints.Length;

import com.fosung.frame.common.persistence.DataEntity;

/**
 * 党员积分内容明细Entity
 * 
 * @author ygl
 * @version 2017-09-03
 */
public class PersonScoreDetail extends DataEntity<PersonScoreDetail> {

	private static final long serialVersionUID = 1L;
	private String organizeId; // 党组织ID
	private String organizeLifeId; // 组织生活ID
	private String personAssessmentInfoId; // 党员积分内容ID
	private String scoreMode; // 分值方式
	private String defaultScore; // 分值（默认分数）
	private String score; // 分数
	private String upperScore; // 上限分数
	private String applyCount; // 已申请次数
	private String status; // 状态（审核通过/不通过）
	private String type; // 类型（加分/减分）
	private String column1; // column_1
	private String column2; // column_2
	private String year; // 年份

	private String personAssessmentInfoTitle;// 积分内容名称

	public String getPersonAssessmentInfoTitle() {
		return personAssessmentInfoTitle;
	}

	public void setPersonAssessmentInfoTitle(String personAssessmentInfoTitle) {
		this.personAssessmentInfoTitle = personAssessmentInfoTitle;
	}

	public PersonScoreDetail() {
		super();
	}

	public PersonScoreDetail(String id) {
		super(id);
	}

	@Length(min = 1, max = 64, message = "党组织ID长度必须介于 1 和 32 之间")
	public String getOrganizeId() {
		return organizeId;
	}

	public void setOrganizeId(String organizeId) {
		this.organizeId = organizeId;
	}

	@Length(min = 1, max = 64, message = "组织生活ID长度必须介于 1 和 32 之间")
	public String getOrganizeLifeId() {
		return organizeLifeId;
	}

	public void setOrganizeLifeId(String organizeLifeId) {
		this.organizeLifeId = organizeLifeId;
	}

	@Length(min = 1, max = 32, message = "党员积分内容ID长度必须介于 1 和 32 之间")
	public String getPersonAssessmentInfoId() {
		return personAssessmentInfoId;
	}

	public void setPersonAssessmentInfoId(String personAssessmentInfoId) {
		this.personAssessmentInfoId = personAssessmentInfoId;
	}

	@Length(min = 0, max = 32, message = "分值方式长度必须介于 0 和 32 之间")
	public String getScoreMode() {
		return scoreMode;
	}

	public void setScoreMode(String scoreMode) {
		this.scoreMode = scoreMode;
	}

	@Length(min = 0, max = 32, message = "分值（默认分数）长度必须介于 0 和 32 之间")
	public String getDefaultScore() {
		return defaultScore;
	}

	public void setDefaultScore(String defaultScore) {
		this.defaultScore = defaultScore;
	}

	@Length(min = 0, max = 32, message = "分数长度必须介于 0 和 32 之间")
	public String getScore() {
		return score;
	}

	public void setScore(String score) {
		this.score = score;
	}

	@Length(min = 0, max = 32, message = "上限分数长度必须介于 0 和 32 之间")
	public String getUpperScore() {
		return upperScore;
	}

	public void setUpperScore(String upperScore) {
		this.upperScore = upperScore;
	}

	@Length(min = 0, max = 32, message = "已申请次数长度必须介于 0 和 32 之间")
	public String getApplyCount() {
		return applyCount;
	}

	public void setApplyCount(String applyCount) {
		this.applyCount = applyCount;
	}

	@Length(min = 0, max = 1, message = "状态（审核通过/不通过）长度必须介于 0 和 1 之间")
	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	@Length(min = 0, max = 1, message = "类型（加分/减分）长度必须介于 0 和 1 之间")
	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	@Length(min = 0, max = 32, message = "column_1长度必须介于 0 和 32 之间")
	public String getColumn1() {
		return column1;
	}

	public void setColumn1(String column1) {
		this.column1 = column1;
	}

	@Length(min = 0, max = 32, message = "column_2长度必须介于 0 和 32 之间")
	public String getColumn2() {
		return column2;
	}

	public void setColumn2(String column2) {
		this.column2 = column2;
	}

	public String getYear() {
		return year;
	}

	public void setYear(String year) {
		this.year = year;
	}

}